package com.niit.onlinemusicserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.niit.onlinemusicserver.common.R;
import com.niit.onlinemusicserver.model.domain.Singer;
import com.niit.onlinemusicserver.model.request.SingerRequest;
import org.springframework.web.multipart.MultipartFile;

public interface SingerService extends IService<Singer> {

  R addSinger (SingerRequest addSingerRequest);

  R updateSingerMsg(SingerRequest updateSingerRequest);

  R updateSingerPic(MultipartFile avatorFile, int id);

  R deleteSinger(Integer id);

  R allSinger();

  R singerOfName(String name);

  R singerOfSex(Integer sex);
}
